using System.IO;

namespace Framework.Core.Io
{
    internal class IoAdapter : IIoAdapter
    {
        public bool FileExists(string path)
        {
            return File.Exists(path);
        }

        public string GetFileDirectory(string path)
        {
            return Path.GetDirectoryName(path);
        }

        public bool DirectoryExists(string path)
        {
            return Directory.Exists(path);
        }
    }
}